package cn.neusoft.mapper;


import cn.neusoft.domain.Commodity;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MvpSupplierMapper {

    Long findSupplyAmount(@Param("commodity_id")String commodity_id,@Param("start_date")Date start_date,
        @Param("end_date")Date end_date);//查询调拨单中的供货数量
    Long findReturnAmount(@Param("order_commodity_id")String order_commodity_id,@Param("start_date")Date start_date,
        @Param("end_date")Date end_date);//查询退货单中退货商品数量
   List<Commodity> findSupplierCommodity(String supplier_id);//查询供应商下商品
   Commodity findCommodity(String commodity_id);//查询商品

}
